package cn.shizhong;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix="shizhong")
public class CustomProperties {
    /**
     * 自定义配置属性Bean:name
     */
    private String name;
    /**
     * 自定义配置属性Bean:today
     */
    private String today;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getToday() {
        return today;
    }

    public void setToday(String today) {
        this.today = today;
    }
}
